<html>
<head>
  <title></title>
</head>
<body>

<h2>View topic list</h2>
{% pp_get_topic_list %}
  <ol>
    {% for topic in pp_topic.topic_list %}
	   {{ topic.text }}


        {% comment %}		
        {% pirate-get-new-issue-list request path topic.id 0 %}
		  <ol>
		    {% for issue in pirate_issues.issue_list %}
		      {{ issue.name }}
				<br><br>
			  {{ issue.text }}
			  <a href={% url genericview issue.get_absolute_path %}>See this issue</a>
		    {% endfor %}
		  </ol>
		{% end-get-new-issue-list %}
		{% pirate-issue-form request path %}
		  <form method="post" action="">
		    {{ pirate_issues.form.as_p }}
		    {% csrf_token %}
		    <input type="submit" value="Submit">
		  </form>
		{% end-issue-form %}         {% endcomment %}		   
	{% endfor %}

  </ol>
{% endpp_get_topic_list %}
{% pp_topic_form POST=request.POST path=request.path %}
  <form method="post" action="">
    {{ pp_topic.form.as_p }}
    {% csrf_token %}
    <input type="submit" value="Submit">
  </form>
{% endpp_topic_form %}
</body>
</html>
